<?php defined( '_JEXEC' ) or die( 'Restricted access' ); ?>
<form action="index.php" method="post" onsubmit="fillRouteData(); return validateForm(this)">
	<div style="float:left; width:15%">
		<p id="nombre"><b><?php echo JText::_('SAVEROUTE_NAME');?></b></p>
	</div>
	<div style="float:left; width:50%">
		<input type="text" id="routeName" name="routeName"/>
	</div>
	<div style="float:left; clear:left; width: 15%">
		<p id="descripcion"><b><?php echo JText::_('SAVEROUTE_DESCRIPTION');?></b></p>
	</div>
	<div style="float:left; width:50%">
		<textarea rows="15" id="routeDescrip" name="routeDescrip" style="width:431px; height:150px"></textarea>
		<br/><br/>
		<input type="submit" disabled="disabled" id="submit" class="small awesome" value="<?php echo JText::_('SAVEROUTE_BUTTON');?>"/>
	</div>
	<input type="hidden" id="option" name="option" value="<?php echo $this->option;?>" />
	<input type="hidden" id="task" name="task" value="saveRoute" />
	<input type="hidden" id="route" name="route"/>
	<input type="hidden" id="distance" name="distance"/>
	<input type="hidden" id="elevation" name="elevation"/>
</form>
